package com.wpre.lotterysystem.service.dto;

import lombok.Data;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2024-12-21
 * Time: 13:37
 */
@Data
public class PageListDTO<T> {
    //总量
    private Integer total;
    //当前页的列表
    private List<T> records;

    public PageListDTO(Integer total, List<T> records) {
        this.total = total;
        this.records = records;
    }
}
